<!DOCTYPE html>
<html>
<head>
<#include "/common/freemarker/include_css.ftl">
 
<title>活动奖品配置</title>
</head>
<html>
   <dl class="dl-horizontal">

<br>

<dt>参考文档</dt>
<dd><a href="http://blog.csdn.net/numbibi/article/details/7783630" target="_blank">artDialog-v4介绍</a></dd>


<dt>主要方法</dt>
<dd>将父框架中的对象传递给子页面窗口中:art.dialog.data("key",value);</dd>
<dd>art.dialog.open(ctx + "ued/test/artDialogChild/fwd.do",{id:"attachementDialog",title:"上传附件",width:"600px",height:"400px"});</dd>


<br>
<dt>参考例子</dt>
<dd>
<input type="text" name="txt" id="txt" value="">
<input type="button" value="选择框" onclick="openDialogChild('txt')">
</dd>
<script>
        function openDialogChild(ctrlId) {
                art.dialog.open(ctx + "ued/test/artDialogChild/fwd.do",{id:"attachementDialog",title:"上传附件",width:"600px",height:"400px"});
                art.dialog.data('parentWindow',window);
                art.dialog.data('ctrlId',ctrlId);
        }
</script>


<#include "/common/freemarker/include_js.ftl">

 
<br> 
<dt>参考实例</dt>  
<dd><a href="<@context/>ued/test/select_user.do" target="_blank">用户选择(需登录后使用)</a></dd>  
 </html>
